Object.defineProperty(exports, "__esModule", {
    value: !0
}), exports.default = void 0;

var e = require("../@babel/runtime/helpers/classCallCheck"), t = require("../@babel/runtime/helpers/createClass"), r = require("../@babel/runtime/helpers/inherits"), u = require("../@babel/runtime/helpers/createSuper"), s = function(s) {
    r(n, s);
    var i = u(n);
    function n() {
        return e(this, n), i.apply(this, arguments);
    }
    return t(n, [ {
        key: "shareFrom",
        value: function(e) {
            return this.request({
                url: "/ums/task/shareFrom",
                data: {
                    userId: e
                }
            });
        }
    }, {
        key: "signList",
        value: function() {
            return this.request({
                url: "/ums/sign/signList"
            });
        }
    }, {
        key: "signRewards",
        value: function() {
            return this.request({
                url: "/ums/sign/signActivity"
            });
        }
    }, {
        key: "signIn",
        value: function() {
            return this.request({
                url: "/ums/sign/signIn",
                method: "post"
            });
        }
    }, {
        key: "taskList",
        value: function(e) {
            return this.request({
                url: "/ums/task/taskList",
                data: {
                    type: e
                }
            });
        }
    }, {
        key: "signRule",
        value: function() {
            return this.request({
                url: "/ums/task/ruleExplain/SignActivityRule"
            });
        }
    }, {
        key: "joinGroup",
        value: function(e) {
            return this.request({
                url: "/ums/task/joinGroup",
                method: "post",
                data: {
                    code: e
                }
            });
        }
    } ]), n;
}(require("./_http").HTTP);

exports.default = s;